package rush.rushcampus.service;

import rush.rushcampus.common.Result;
import rush.rushcampus.dto.UserDto;
import rush.rushcampus.entity.User;
import com.baomidou.mybatisplus.extension.service.IService;
import rush.rushcampus.vo.UserInfoVo;

import javax.servlet.http.HttpServletRequest;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author rush
 * @since 2024-06-11
 */
public interface IUserService extends IService<User> {

    Result register(UserDto userDto);

    Result login (HttpServletRequest request , UserDto userDto);

    void concern(Long id);

    UserInfoVo getMyInfoVo();
}
